package com.vitabuybuy.tv.dto;

import com.vitabuybuy.tv.utils.LanaugeUtils;

import java.util.List;

/**
 * 作者：SimGa
 * 日期：2020/12/19
 * 时间：15:11
 * 包名：com.vitabuybuy.tv.dto
 */
public class LiveListDto {


    /**
     * image : 123.jpg
     * roomNumber : 3145900487
     * store : {"name":"李艺科潮男装卖店","id":12}
     * title : zzt直播
     * type : 立即直播
     * viewerQuantity : 0
     * giftQuantity : 0
     * createTime : 2020-11-24 19:17:56
     * praiseQuantity : 0
     * playUrl :
     * id : 4
     * openTime : 2020-11-24 19:17:56
     * productList : [{"thumbnail":"http://106.55.47.138/attachment/jpg/2534/128_31886.jpg","name":"airforce1","id":11},{"thumbnail":"http://106.55.47.138/attachment/jpg/3007/137_14959.jpg","name":"airjordan1","id":12}]
     * taskId :
     * status : 直播中
     */

    private String image;
    private String roomNumber;
    /**
     * name : 李艺科潮男装卖店
     * id : 12
     */
    private MyFollowListDto.ExecutorBean executor;
    private StoreBean store;
    private String title;
    private String type;
    private String allRegion;
    private int viewerQuantity;
    private int giftQuantity;
    private String createTime;
    private int praiseQuantity;
    private String playUrl;
    private String replayAddress;
    private int id;
    private String openTime;
    private String taskId;
    private String status;
    private boolean attention;

    public String getReplayAddress() {
        return replayAddress;
    }

    public void setReplayAddress(String replayAddress) {
        this.replayAddress = replayAddress;
    }

    public MyFollowListDto.ExecutorBean getExecutor() {
        return executor;
    }

    public void setExecutor(MyFollowListDto.ExecutorBean executor) {
        this.executor = executor;
    }

    public boolean isAttention() {
        return attention;
    }

    public void setAttention(boolean attention) {
        this.attention = attention;
    }

    public String getAllRegion() {
        return LanaugeUtils.returnStrByLocation(allRegion);
    }

    public void setAllRegion(String allRegion) {
        this.allRegion = allRegion;
    }

    /**
     * thumbnail : http://106.55.47.138/attachment/jpg/2534/128_31886.jpg
     * name : airforce1
     * id : 11
     */



    private List<ProductListBean> productList;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public StoreBean getStore() {
        return store;
    }

    public void setStore(StoreBean store) {
        this.store = store;
    }

    public String getTitle() {
        return LanaugeUtils.returnStrByLocation(title);
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getViewerQuantity() {
        return viewerQuantity;
    }

    public void setViewerQuantity(int viewerQuantity) {
        this.viewerQuantity = viewerQuantity;
    }

    public int getGiftQuantity() {
        return giftQuantity;
    }

    public void setGiftQuantity(int giftQuantity) {
        this.giftQuantity = giftQuantity;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getPraiseQuantity() {
        return praiseQuantity;
    }

    public void setPraiseQuantity(int praiseQuantity) {
        this.praiseQuantity = praiseQuantity;
    }

    public String getPlayUrl() {
        return playUrl;
    }

    public void setPlayUrl(String playUrl) {
        this.playUrl = playUrl;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOpenTime() {
        return openTime;
    }

    public void setOpenTime(String openTime) {
        this.openTime = openTime;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ProductListBean> getProductList() {
        return productList;
    }

    public void setProductList(List<ProductListBean> productList) {
        this.productList = productList;
    }

    public static class StoreBean {
        private String name;
        private String logo;

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        private int id;

        public String getName() {
            return LanaugeUtils.returnStrByLocation(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public static class ProductListBean {
        private String thumbnail;
        private String name;
        private double saleprice = 0.00;
        private int id;

        public double getSaleprice() {
            return saleprice;
        }

        public void setSaleprice(double saleprice) {
            this.saleprice = saleprice;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getName() {
            return LanaugeUtils.returnStrByLocation(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }
}
